package DyingBaby.backend.plan;

import DyingBaby.backend.sql.Ast;

import java.util.Map;

class UpdatePlan implements LogicalPlan {
    public final String table;
    public final Map<String,Object> set;//要设置的列和值的映射
    public final Ast.Expr predicate; //更新条件（可为 null）
    public UpdatePlan(String table, Map<String,Object> set, Ast.Expr predicate) { this.table=table; this.set=set; this.predicate=predicate; }
}

